﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000007 RID: 7
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ABFBLEKMNME : IMessage<ABFBLEKMNME>, IMessage, IEquatable<ABFBLEKMNME>, IDeepCloneable<ABFBLEKMNME>, IBufferMessage
	{
		// Token: 0x1700000B RID: 11
		// (get) Token: 0x0600002A RID: 42 RVA: 0x0000253F File Offset: 0x0000073F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ABFBLEKMNME> Parser
		{
			get
			{
				return ABFBLEKMNME._parser;
			}
		}

		// Token: 0x1700000C RID: 12
		// (get) Token: 0x0600002B RID: 43 RVA: 0x00002546 File Offset: 0x00000746
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ABFBLEKMNMEReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700000D RID: 13
		// (get) Token: 0x0600002C RID: 44 RVA: 0x00002558 File Offset: 0x00000758
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ABFBLEKMNME.Descriptor;
			}
		}

		// Token: 0x0600002D RID: 45 RVA: 0x0000255F File Offset: 0x0000075F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ABFBLEKMNME()
		{
		}

		// Token: 0x0600002E RID: 46 RVA: 0x00002568 File Offset: 0x00000768
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ABFBLEKMNME(ABFBLEKMNME other) : this()
		{
			this.lineup_ = ((other.lineup_ != null) ? other.lineup_.Clone() : null);
			this.scene_ = ((other.scene_ != null) ? other.scene_.Clone() : null);
			this.rotateInfo_ = ((other.rotateInfo_ != null) ? other.rotateInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600002F RID: 47 RVA: 0x000025E0 File Offset: 0x000007E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ABFBLEKMNME Clone()
		{
			return new ABFBLEKMNME(this);
		}

		// Token: 0x1700000E RID: 14
		// (get) Token: 0x06000030 RID: 48 RVA: 0x000025E8 File Offset: 0x000007E8
		// (set) Token: 0x06000031 RID: 49 RVA: 0x000025F0 File Offset: 0x000007F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LineupInfo Lineup
		{
			get
			{
				return this.lineup_;
			}
			set
			{
				this.lineup_ = value;
			}
		}

		// Token: 0x1700000F RID: 15
		// (get) Token: 0x06000032 RID: 50 RVA: 0x000025F9 File Offset: 0x000007F9
		// (set) Token: 0x06000033 RID: 51 RVA: 0x00002601 File Offset: 0x00000801
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SceneInfo Scene
		{
			get
			{
				return this.scene_;
			}
			set
			{
				this.scene_ = value;
			}
		}

		// Token: 0x17000010 RID: 16
		// (get) Token: 0x06000034 RID: 52 RVA: 0x0000260A File Offset: 0x0000080A
		// (set) Token: 0x06000035 RID: 53 RVA: 0x00002612 File Offset: 0x00000812
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMapRotateInfo RotateInfo
		{
			get
			{
				return this.rotateInfo_;
			}
			set
			{
				this.rotateInfo_ = value;
			}
		}

		// Token: 0x06000036 RID: 54 RVA: 0x0000261B File Offset: 0x0000081B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ABFBLEKMNME);
		}

		// Token: 0x06000037 RID: 55 RVA: 0x0000262C File Offset: 0x0000082C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ABFBLEKMNME other)
		{
			return other != null && (other == this || (object.Equals(this.Lineup, other.Lineup) && object.Equals(this.Scene, other.Scene) && object.Equals(this.RotateInfo, other.RotateInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000038 RID: 56 RVA: 0x00002694 File Offset: 0x00000894
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.lineup_ != null)
			{
				num ^= this.Lineup.GetHashCode();
			}
			if (this.scene_ != null)
			{
				num ^= this.Scene.GetHashCode();
			}
			if (this.rotateInfo_ != null)
			{
				num ^= this.RotateInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000039 RID: 57 RVA: 0x000026FC File Offset: 0x000008FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600003A RID: 58 RVA: 0x00002704 File Offset: 0x00000904
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600003B RID: 59 RVA: 0x00002710 File Offset: 0x00000910
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.scene_ != null)
			{
				output.WriteRawTag(42);
				output.WriteMessage(this.Scene);
			}
			if (this.lineup_ != null)
			{
				output.WriteRawTag(58);
				output.WriteMessage(this.Lineup);
			}
			if (this.rotateInfo_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.RotateInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600003C RID: 60 RVA: 0x00002788 File Offset: 0x00000988
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.lineup_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Lineup);
			}
			if (this.scene_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Scene);
			}
			if (this.rotateInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RotateInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600003D RID: 61 RVA: 0x000027F8 File Offset: 0x000009F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ABFBLEKMNME other)
		{
			if (other == null)
			{
				return;
			}
			if (other.lineup_ != null)
			{
				if (this.lineup_ == null)
				{
					this.Lineup = new LineupInfo();
				}
				this.Lineup.MergeFrom(other.Lineup);
			}
			if (other.scene_ != null)
			{
				if (this.scene_ == null)
				{
					this.Scene = new SceneInfo();
				}
				this.Scene.MergeFrom(other.Scene);
			}
			if (other.rotateInfo_ != null)
			{
				if (this.rotateInfo_ == null)
				{
					this.RotateInfo = new RogueMapRotateInfo();
				}
				this.RotateInfo.MergeFrom(other.RotateInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600003E RID: 62 RVA: 0x000028A4 File Offset: 0x00000AA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600003F RID: 63 RVA: 0x000028B0 File Offset: 0x00000AB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 42U)
				{
					if (num != 58U)
					{
						if (num != 66U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.rotateInfo_ == null)
							{
								this.RotateInfo = new RogueMapRotateInfo();
							}
							input.ReadMessage(this.RotateInfo);
						}
					}
					else
					{
						if (this.lineup_ == null)
						{
							this.Lineup = new LineupInfo();
						}
						input.ReadMessage(this.Lineup);
					}
				}
				else
				{
					if (this.scene_ == null)
					{
						this.Scene = new SceneInfo();
					}
					input.ReadMessage(this.Scene);
				}
			}
		}

		// Token: 0x0400000B RID: 11
		private static readonly MessageParser<ABFBLEKMNME> _parser = new MessageParser<ABFBLEKMNME>(() => new ABFBLEKMNME());

		// Token: 0x0400000C RID: 12
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400000D RID: 13
		public const int LineupFieldNumber = 7;

		// Token: 0x0400000E RID: 14
		private LineupInfo lineup_;

		// Token: 0x0400000F RID: 15
		public const int SceneFieldNumber = 5;

		// Token: 0x04000010 RID: 16
		private SceneInfo scene_;

		// Token: 0x04000011 RID: 17
		public const int RotateInfoFieldNumber = 8;

		// Token: 0x04000012 RID: 18
		private RogueMapRotateInfo rotateInfo_;
	}
}
